import {request} from "../../utils/request"
import type {statllType,moveType} from "../../modal/zzx/approval";
//员工审批列表  SchoolSys/uloa/searchUloa
export let EmployeeApprovalList= (params:object)=>{
	return request.postRequest<statllType>("SchoolSys/uloa/searchUloa",params)
}

//调课审批列表 /SchoolSys/rea/realist
export let ClassList= (params:object)=>{
	return request.postRequest<moveType>("SchoolSys/rea/realist",params)
}

//调课搜索  SchoolSys/rea/search
export let SearchClassList= (params:object)=>{
	return request.postRequest("SchoolSys/rea/search",params)
}

//审批调课  SchoolSys/rea/update
export let ApprovalClassList= (params:object)=>{
	return request.postRequest("SchoolSys/rea/update",params)
}

//换课列表  /cha/chalist
export let changeClassList= (params:object)=>{
	return request.postRequest("SchoolSys/cha/chalist",params)
}
//搜索换课列表  /cha/search
export let SearchchangeList= (params:object)=>{
	return request.postRequest("SchoolSys/cha/search",params)
}

//审批换课  SchoolSys/cha/update
export let ApprovachangeList= (params:object)=>{
	return request.postRequest("SchoolSys/cha/update",params)
}



//课程管理里调课的申请  SchoolSys/rea/application
export let applicationClass= (params:object)=>{
	return request.postRequest("SchoolSys/rea/application",params)
}

//根据课程id查询班级  SchoolSys/rea/applicationBySubId
export let InquireClass= (params:object)=>{
	return request.postRequest("SchoolSys/rea/applicationBySubId",params)
}

//获取调课的原来上课时间  SchoolSys/rea/getSchaById
export let OldTime= (params:object)=>{
	return request.postRequest("SchoolSys/rea/getSchaById",params)
}

//添加调课  SchoolSys/rea/addRea
export let AddChangeClass= (params:object)=>{
	return request.postRequest("SchoolSys/rea/addRea",params)
}
//删除调课  SchoolSys/rea/delRea
export let DelChangeClass= (params:object)=>{
	return request.postRequest("SchoolSys/rea/delRea",params)
}


//获取调课详情  SchoolSys/rea/ReaInfoByID
export let GetDetialChangeClass= (params:object)=>{
	return request.postRequest("SchoolSys/rea/ReaInfoByID",params)
}